#include "opencv2/core.hpp"
using namespace cv;
using namespace std;

//核心部分，大多数时间都在调这玩意
struct Params
{   
    //设置图像预处理阈值
    int deal_threshold=250;

    //设置轮廓筛选阈值
    double choose_min_area=200;
    double choose_max_area=1800;
    double choose_ceil_angle=160;
    double choose_floor_angle=20;
    double choose_ratio=1.4;

    //设置灯条匹配阈值
    double match_dangle=7;
    double match_min_dx=40;
    double match_max_dx=180;
    double match_dy=30;
    double match_dlength=30;

    //对匹配结果检查
    double check_distance=250;


};
